package cn.edu.njpi.mapper;

import cn.edu.njpi.model.TSchool;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TSchoolMapper {
    int deleteByPrimaryKey(Integer schoolId);

    int insert(TSchool record);

    int insertSelective(TSchool record);

    TSchool selectByPrimaryKey(Integer schoolId);

    int updateByPrimaryKeySelective(TSchool record);

    int updateByPrimaryKey(TSchool record);

    List<TSchool> getAllSchool();

    TSchool selectBySchoolName(String schoolName);
}